package com.lst.common;

/**
 * @ClassName: CommCode
 * @Description: CommCode
 * @author WangXin
 * @date 2016年6月6日 下午6:24:29
 */
public class CommCode {

    /**
     * APP消息效应
     */
    // 公共
    public static final String M_Y000000 = "111111";// 成功标志
    public static final String M_Y000001 = "SUCCESS";// 成功消息
    public static final String M_Y000002 = "OK";// 成功消息
    public static final String M_A000000 = "000000";// 失败标志
    public static final String M_P000001 = "版本号为空";
    public static final String M_P000002 = "用户ID为空";
    public static final String M_P000003 = "SIM卡全球唯一硬件标识为空";
    public static final String M_P000004 = "手机号码为空";
    public static final String M_P000005 = "签名信息为空";
    public static final String M_P000006 = "签名方式为空";
    public static final String M_P000007 = "终端号为空";
    public static final String M_P000008 = "时间戳为空";
    public static final String M_P000009 = "当前页数为空";
    public static final String M_P000010 = "页条数为空";
    public static final String M_P000011 = "数据集为空";
    public static final String M_SYS0001 = "500";// 服务器遇到错误，无法完成请求。
    public static final String M_SYS0002 = "501";// 服务器无法识别请求方法时可能会返回此代码。
    public static final String M_SYS0003 = "502"; // 服务器作为网关或代理，从上游服务器收到无效响应。
    public static final String M_A000001 = "222222";// 打开详情错误标志
    public static final String M_A000002 = "此内容不存在或者已经被发布者删除！";// 打开详情错误消息

    // 系统块
    public static final String M_C000001 = "用户帐号为空";
    public static final String M_C000002 = "密码为空";
    public static final String M_C000003 = "用户名为空";
    public static final String M_C000004 = "出生日期为空";
    public static final String M_C000005 = "健康状况为空";
    public static final String M_C000006 = "该帐号已存在";
    public static final String M_C000007 = "账号或密码错误，请重新输入";
    public static final String M_C000008 = "新密码为空";
    public static final String M_C000009 = "旧密码为空";
    public static final String M_C000010 = "密码错误";
    public static final String M_C000011 = "角色ID为空";
    public static final String M_C000012 = "角色ID非法";
    public static final String M_C000013 = "邮箱为空";
    public static final String M_C000014 = "体重为空";
    public static final String M_C000015 = "身高为空";
    public static final String M_C000016 = "用户名已存在";
    public static final String M_C000017 = "确认密码为空";
    public static final String M_C000018 = "两次密码不一致";
    public static final String M_C000019 = "下载功夫目的为空";
    public static final String M_C000020 = "了解功夫程度为空";
    public static final String M_C000021 = "昵称为空";
    public static final String M_C000022 = "生日不能超过当前时间";
    public static final String M_C000023 = "手机格式不正确";
    public static final String M_C000024 = "登录方式为空";
    public static final String M_C000025 = "第三方编号为空";
    public static final String M_C000026 = "设定的新密码不能与旧密码相同";
    public static final String M_C000027 = "等级为空";
    public static final String M_C000028 = "该手机号尚未注册";

    // 精选块
    public static final String M_S000001 = "精选类型为空";

    // 在线课程
    public static final String M_S000011 = "在线课程id为空";
    public static final String M_S000012 = "观看时长为空";
    public static final String M_S000013 = "获得卡路里为空";

    // 发现块
    public static final String M_L000001 = "发现类型为空";

    // 体验块
    public static final String M_E000001 = "体验类型为空";
    public static final String M_E000002 = "驱动ID为空";
    public static final String M_E000003 = "驱动类型为空";
    public static final String M_E000004 = "驱动标题为空";
    public static final String M_E000005 = "驱动资源路径为空";
    public static final String M_E000006 = "实际价格为空";
    public static final String M_E000007 = "联系人为空";
    public static final String M_E000008 = "联系方式为空";
    public static final String M_E000009 = "订单ID为空";
    public static final String M_E000010 = "订单状态为空";
    public static final String M_E000011 = "付款方式为空";
    public static final String M_E000012 = "付款时间为空";
    public static final String M_E000013 = "订单号为空";
    public static final String M_E000014 = "选择时间为空";
    public static final String M_E000015 = "场馆ID为空";
    public static final String M_E000016 = "课程类型为空";
    public static final String M_E000017 = "订单详情ID为空";
    public static final String M_E000018 = "用户等级为空";
    public static final String M_E000019 = "优惠券类型为空";
    public static final String M_E000020 = "使用状态为空";
    public static final String M_E000021 = "特色课程类型为空";
    public static final String M_E000022 = "其他课程类型为空";
    public static final String M_E000023 = "优惠券ID为空";
    public static final String M_E000024 = "不能重复领取此优惠券";
    public static final String M_E000025 = "活动ID不能为空";
    public static final String M_E000026 = "原价为空";
    public static final String M_E000027 = "单价为空";
    public static final String M_E000028 = "购买数量为空";
    public static final String M_E000029 = "课程ID为空";
    public static final String M_E000030 = "视频ID不能为空";

    // 其他块
    public static final String M_O000001 = "收藏ID为空";
    public static final String M_O000002 = "收藏类型为空";
    public static final String M_O000004 = "统计量镜像key空";
    public static final String M_O000005 = "量类型为空";
    public static final String M_O000006 = "邮箱为空";
    public static final String M_O000007 = "接收类型为空";
    public static final String M_O000008 = "内容为空";
    public static final String M_O000009 = "模板为空";
    public static final String M_O000010 = "ID集为空";
    public static final String M_O000011 = "验证码发送频繁，请明日再试";//"短信发送超过5条";
    public static final String M_O000012 = "该手机号已注册";
    public static final String M_O000013 = "手机号不存在";
    // public static final String M_O000006 = "统计量镜像key空";

    // 我的块
    public static final String M_M000001 = "问卷JSON数据为空";
    public static final String M_M000002 = "该课程已经下架";
    public static final String M_M000003 = "该活动已经下架";
    public static final String M_M000004 = "该武馆已经下架";
    public static final String M_M000005 = "该在线课程已经下架";
    public static final String M_M000006 = "该视频已经下架";

    /**
     * 自定义常量
     */

    // 带时分秒的计算
    public static final String START_DATE_HMS = " 00:00:00";
    public static final String END_DATE_HMS = " 23:59:59";

    // 手机号
  //  public static final String REGEX_MOBILE = "^(13|15|18|17)[0-9]{9}$";
    
    // 密码
  //  public static final String REGEX_PASSWORD = "^[a-zA-Z0-9]{6,16}$";

    // 邮件
    public static final String REGEX_EMAIL = "^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$";

    public static final Integer ORDERNO = 10000;

    public static final String SMS_URL = "http://skf.smartkungfu.com/SmartKungFuService/SendSmsServlet";

    public static final String MAIL_URL = "http://skf.smartkungfu.com/SmartKungFuService/SendMailServlet";

    public static final String TARGET_MAILNO = "common_service@smartkungfu.com";// "chrj@smartkungfu.com";//"1014228755@qq.com";
    // 接收者类型
    public static final Integer SYSCODE_MSG_RECEIVE_TYPE_SYSTEM = 88;// 系统
    public static final Integer SYSCODE_MSG_RECEIVE_TYPE_CLIENT = 89;// 前端用户
    public static final Integer SYSCODE_MSG_RECEIVE_TYPE_USER = 90;// 后端用户
    /**
     * 系统编码常量
     */

    // 资源类型
    public static final Integer SYSCODE_REOURCES_TYPE_IMAGE = 84;// 图片资源
    public static final Integer SYSCODE_REOURCES_TYPE_VIDEO = 85;// 视频资源
    public static final Integer SYSCODE_REOURCES_TYPE_TXT = 86;// 文档资源

    // 资源路径
    public static final String RESOURCE_URL_IMAGE = "/UploadImages/KUNGFU/IMG/";// 图片路径"
    public static final String RESOURCE_URL_VIDEO = "/UploadImages/KUNGFU/VIDEO/";// 视频路径"

    // 消息类型
    public static final Integer SYSCODE_MSG_TYPE_MSG = 79;// 短信消息
    public static final Integer SYSCODE_MSG_TYPE_PUSH = 80;// 推送消息
    public static final Integer SYSCODE_MSG_TYPE_MAIL = 81;// Mail消息

    // 消息接收者类型
    public static final Integer SYSCODE_MSG_TYPE_RECEIVE_SYSTEM = 88;// 系统
    public static final Integer SYSCODE_MSG_TYPE_RECEIVE_CLIENT = 89;// APP用户
    public static final Integer SYSCODE_MSG_TYPE_RECEIVE_USER = 90;// 系统用户

    // 消息发送者类型
    public static final Integer SYSCODE_MSG_TYPE_SEND_SYSTEM = 92;// 系统
    public static final Integer SYSCODE_MSG_TYPE_SEND_CLIENT = 93;// APP用户
    public static final Integer SYSCODE_MSG_TYPE_SEND_USER = 94;// 系统用户

    // 登录方式

    public static final Integer SYSTEM_LOGINTYPE_MOBILENO = 2; // 手机号登录
    public static final Integer SYSTEM_LOGINTYPE_MAIL = 3;// 邮箱登录
    public static final Integer SYSTEM_LOGINTYPE_QQ = 4;// QQ账号
    public static final Integer SYSTEM_LOGINTYPE_WEIXIN = 296;// 微信登录
    public static final Integer SYSTEM_LOGINTYPE_SINA = 297;// 新浪登录
    // 精选类型
    public static final Integer SYSTEM_CARESEL_TYPE__NOW = 6;// 今日精选
    public static final Integer SYSTEM_CARESEL_TYPE_BEFORE = 7;// 往期精选
    public static final String SYSTEM_CARESEL_TYPE__NOW_WENW = "#今日文章精选";// 今日精选
    public static final String SYSTEM_CARESEL_TYPE__NOW_VIDEO = "#今日视频精选";// 今日精选
    public static final String SYSTEM_CARESEL_TYPE__NOW_PRO = "#今日活动精选";// 今日精选
    public static final String SYSTEM_CARESEL_TYPE__NOW_GYM = "#今日场馆精选";// 今日精选
    public static final String SYSTEM_CARESEL_TYPE__NOW_STAR = "#今日达人精选";// 今日精选

    // 功夫版块
    public static final Integer SYSTEM_CARESEL_RANGE_WENW = 9;// 文章版块
    public static final Integer SYSTEM_CARESEL_RANGE_VIDEO = 10;// 视频版块
    public static final Integer SYSTEM_CARESEL_RANGE_PRO = 11;// 活动版块
    public static final Integer SYSTEM_CARESEL_RANGE_GYM = 12;// 场馆版块
    public static final Integer SYSTEM_CARESEL_RANGE_STAR = 13;// 达人版块
    public static final Integer SYSTEM_CARESEL_RANGE_DISCUSS = 295;// 评论版块
    public static final Integer SYSTEM_CARESEL_RANGE_COURSE = 298;// 课程版块
    public static final Integer SYSTEM_CARESEL_RANGE_ONLINE = 369;// 在线课程板块

    public static final Integer SYSTEM_CARESEL_RANGE_PRO_DATE = 251;// 活动选择日期
    public static final Integer SYSTEM_CARESEL_RANGE_PRO_TIME = 256;// 活动选择时间
    
    //社区板块
    public static final Integer SYSTEM_CARESEL_RANGE_ANSWER = 50;//回答版块
    public static final Integer SYSTEM_CARESEL_RANGE_COMPANION = 51;//嘿哈版块
    public static final Integer SYSTEM_CARESEL_RANGE_DYNAMIC = 52;//动态版块
    public static final Integer SYSTEM_CARESEL_RANGE_QUESTION = 53;//问题版块
   // public static final Integer SYSTEM_CARESEL_RANGE_Love= 39;//喜欢
    public static final Integer SYSTEM_CARESEL_RANGE_Focus= 446;//关注
    
    //喜欢类型
    public static final Integer SYSTEM_CARESEL_LOVE_ANSWER = 2;//回答喜欢
    public static final Integer SYSTEM_CARESEL_LOVE_DYNAMIC = 1;//动态喜欢
    public static final Integer SYSTEM_CARESEL_LOVE_QUESTION = 3;//问题喜欢

    // 功力值类型
    public static final Integer SYSTEM_GROWTH_RANGE_REGISTER = 288;// 注册
    public static final Integer SYSTEM_GROWTH_RANGE_REGISTER_INVITE = 289;// 邀请注册
    public static final Integer SYSTEM_GROWTH_RANGE_COMPLETE_TRAIN = 290;// 完成课程训练
    public static final Integer SYSTEM_GROWTH_RANGE_BUY_ACTY = 291;// 购买活动
    public static final Integer SYSTEM_GROWTH_RANGE_BUY_COURSE = 292;// 购买课程
    public static final Integer SYSTEM_GROWTH_RANGE_READ_ARTICLE = 293;// 阅读文章
    public static final Integer SYSTEM_GROWTH_RANGE_VIEW_VIEDO = 294;// 观看视频
    public static final Integer SYSTEM_GROWTH_RANGE_SHARE_TRAIN = 320;// 分享训练课程
    public static final Integer SYSTEM_GROWTH_RANGE_SHARE_ARTICLE = 321;// 分享文章
    public static final Integer SYSTEM_GROWTH_RANGE_SHARE_VIEDO = 322;// 分享视频
    public static final Integer SYSTEM_GROWTH_RANGE_SHARE_ACTY = 323;// 分享活动
    public static final Integer SYSTEM_GROWTH_RANGE_SHARE_COURSE = 324;// 分享课程
    public static final Integer SYSTEM_GROWTH_RANGE_SUBMISSION = 325;// 投稿

    // 功夫项目
    public static final Integer SYSTEM_KUNGFU_TYPE_ZHGD = 327;// 综合格斗
    public static final Integer SYSTEM_KUNGFU_TYPE_SD = 328;// 散打
    public static final Integer SYSTEM_KUNGFU_TYPE_TQ = 329;// 泰拳
    public static final Integer SYSTEM_KUNGFU_TYPE_TQD = 330;// 跆拳道
    public static final Integer SYSTEM_KUNGFU_TYPE_KSD = 331;// 空手道
    public static final Integer SYSTEM_KUNGFU_TYPE_QJ = 332;// 拳击
    public static final Integer SYSTEM_KUNGFU_TYPE_JD = 333;// 剑道
    public static final Integer SYSTEM_KUNGFU_TYPE_WSTL = 334;// 武术套路
    public static final Integer SYSTEM_KUNGFU_TYPE_YC = 335;// 咏春
    public static final Integer SYSTEM_KUNGFU_TYPE_MJS = 336;// 马伽术
    public static final Integer SYSTEM_KUNGFU_TYPE_BXRS = 337;// 巴西柔术
    public static final Integer SYSTEM_KUNGFU_TYPE_HQD = 338;// 合气道
    public static final Integer SYSTEM_KUNGFU_TYPE_TJYS = 339;// 太极养生
    public static final Integer SYSTEM_KUNGFU_TYPE_BXZW = 340;// 巴西战舞

    // 订单状态
    public static final Integer SYSTEM_ORDER_STATUS_PAY = 27;// 待付款
    public static final Integer SYSTEM_ORDER_STATUS_DISCUSS = 28;// 待评价
    public static final Integer SYSTEM_ORDER_STATUS_COMPLETE = 29;// 已付款
    public static final Integer SYSTEM_ORDER_STATUS_CANCEL = 30;// 已取消
    public static final Integer SYSTEM_ORDER_STATUS_DONE = 209;// 已完成
    public static final Integer SYSTEM_ORDER_STATUS_ING = 210;// 进行中
    public static final Integer SYSTEM_ORDER_STATUS_WAIT = 234;// 待参与
    public static final Integer SYSTEM_ORDER_STATUS_PAYBACK = 236;// 待退款
    public static final Integer SYSTEM_ORDER_STATUS_PAYBACKING = 237;// 退款中
    public static final Integer SYSTEM_ORDER_STATUS_BACKSUCCESS = 238;// 已退款
    public static final Integer SYSTEM_ORDER_STATUS_BACKDEFAULT = 239;// 未退款
    public static final Integer SYSTEM_ORDER_STATUS_WAITPAYBACK = 236;// 待退款

    // 退款状态
    // public static final Integer SYSTEM_ORDER_REFUND_WAIT = 241;// 待申请
    public static final Integer SYSTEM_ORDER_REFUND_APPLT = 242;// 待处理
    // public static final Integer SYSTEM_ORDER_REFUND_DEALING = 243;// 处理中
    public static final Integer SYSTEM_ORDER_REFUND_DONE = 244;// 已处理

    public static final Integer SYSTEM_COUNT_PRAISE = 35;// 点赞
    public static final Integer SYSTEM_COUNT_BROWSE = 36;// 浏览
    public static final Integer SYSTEM_COUNT_FAVORITE = 37;// 收藏
    public static final Integer SYSTEM_COUNT_SHARE = 38;// 分享

    public static final Integer ROLLSTATUS_USED = 131;// 已使用
    public static final Integer ROLLSTATUS_UNUSED = 132;// 未使用
    public static final Integer ROLLSTATUS_OUTDATE = 133;// 已过期
    
    //支付方式
    public static final Integer SYSTEM_PAY_TYPE_ALI = 33;//支付宝支付
    public static final Integer SYSTEM_PAY_TYPE_WEIX = 32;//微信支付
    // 评论
    public static final String M_B000001 = "目标ID为空";
    public static final String M_B000002 = "内容为空";
    public static final String M_B000003 = "类型为空";

    public static final String M_D000001 = "点赞成功";
    public static final String M_D000002 = "点赞取消";
    public static final String M_D000003 = "收藏成功";
    public static final String M_D000004 = "收藏取消";
    public static final String M_D000005 = "功夫课程已添加";
    public static final String M_D000006 = "未添加此课程";

    // 搜索
    public static final String M_F000001 = "搜索内容为空";

    // 退款
    public static final String M_H000001 = "退款原因ID为空";
    public static final String M_H000002 = "退款金额为空";
    public static final String M_H000003 = "退款数量";
    public static final String M_H000004 = "退款描述为空";
    public static final String M_H000005 = "订单状态为空";
    public static final String M_H000006 = "申请已提交,请等待审核";
    public static final String M_H000007 = "该订单状态不允许退款操作";
    public static final String M_H000008 = "该订单已进行过退款申请";

    // 功力值
    public static final String M_G000001 = "功力值为空";
    public static final String M_G000002 = "功力值类型为空";
    public static final String M_G000003 = "功力值表ID为空";
    
  //一级课程分类
    public static final Integer Course_Class1=352;//轻功•零基础功夫入门
    public static final Integer Course_Class2=353;//轻功•功夫专项能力进阶
    public static final Integer Course_Class3=354;//轻功•功夫最佳技术表现训练
    public static final Integer Course_Class4=371;//功夫明星绝招教学
    public static final Integer Course_Class5=457;//户外跑步组合训练
    public static final Integer Course_Class6=458;//器械训练
    public static final Integer Course_Class7=459;//热身与恢复
    public static final Integer Course_Class8=448;//技术训练•拳
    public static final Integer Course_Class9=449;//技术训练•踢击
    public static final Integer Course_Class10=450;//技术训练•地面
    public static final Integer Course_Class11=451;//综合技术训练
    public static final Integer Course_Class12=452;//防御能力
    public static final Integer Course_Class13=453;//功夫•平衡与稳定
    public static final Integer Course_Class14=454;//功夫•力量
    public static final Integer Course_Class15=455;//功夫•灵敏
    public static final Integer Course_Class16=456;//功夫•反应与速度
    
    //课程标签
    public static final Integer ctype=465;//课程标签
    public static final Integer ctype1=466;//轻功•零基础功夫入门
    public static final Integer ctype2=467;//轻功•功夫专项能力进阶
    public static final Integer ctype3=468;//轻功•功夫最佳技术表现训练
    
    //训练倾向能力
    public static final Integer Train_type1=380;//平衡与稳定
    public static final Integer Train_type2=381;//力量训练
    public static final Integer Train_type3=382;//灵敏训练
    public static final Integer Train_type4=383;//反应与速度训练
    public static final Integer Train_type5=384;//综合能力训练
    public static final Integer Train_type6=385;//爆发力
    public static final Integer Train_type7=386;//柔韧
    public static final Integer Train_type8=387;//耐力
    public static final Integer Train_type9=400;//防御能力
    
    //想训练的能力
    public static final Integer Kfclass_type1=389;//拳法训练
    public static final Integer Kfclass_type2=390;//踢击训练
    public static final Integer Kfclass_type3=391;//地面技术训练
    public static final Integer Kfclass_type4=392;//综合训练
    
    //课程二级分类
    public static final Integer Course_Class_type1=402;//心肺能量激活
    public static final Integer Course_Class_type2=403;//体能快充
    public static final Integer Course_Class_type3=404;//肌肉唤醒
    public static final Integer Course_Class_type4=405;//专项稳定特训
    public static final Integer Course_Class_type5=406;//专项力量特训
    public static final Integer Course_Class_type6=407;//专项反应能力特训
    public static final Integer Course_Class_type7=408;//拳法表现训练
    public static final Integer Course_Class_type8=409;//踢击表现训练
    public static final Integer Course_Class_type9=410;//地面表现训练
    public static final Integer Course_Class_type10=411;//拳法初级特训
    public static final Integer Course_Class_type11=412;//拳法高级特训
    public static final Integer Course_Class_type12=413;//拳法专项能力特训
    public static final Integer Course_Class_type13=414;//踢击初级特训
    public static final Integer Course_Class_type14=415;//踢击高级特训
    public static final Integer Course_Class_type15=416;//踢击专项能力特训
    public static final Integer Course_Class_type16=417;//摔投技与寝技特训
    public static final Integer Course_Class_type17=418;//地面击打特训
    public static final Integer Course_Class_type18=419;//地面专项能力特训
    public static final Integer Course_Class_type19=420;//专项综合能力特训
    public static final Integer Course_Class_type20=421;//拳腿组合特训
    public static final Integer Course_Class_type21=422;//功夫综合特训
    public static final Integer Course_Class_type22=423;//防守特训
    public static final Integer Course_Class_type23=424;//抗击打特训
    public static final Integer Course_Class_type24=425;//柔韧训练
    public static final Integer Course_Class_type25=426;//平衡训练
    public static final Integer Course_Class_type26=427;//稳定训练
    public static final Integer Course_Class_type27=428;//力量基础
    public static final Integer Course_Class_type28=429;//力量耐力
    public static final Integer Course_Class_type29=430;//爆发力
    public static final Integer Course_Class_type30=431;//移动能力
    public static final Integer Course_Class_type31=432;//功夫步法
    public static final Integer Course_Class_type32=433;//转换能力训练
    public static final Integer Course_Class_type33=434;//反应训练
    public static final Integer Course_Class_type34=435;//速度训练
    public static final Integer Course_Class_type35=436;//综合反应能力
    public static final Integer Course_Class_type39=460;//有氧跑步训练
    public static final Integer Course_Class_type40=461;//无氧跑步训练
    public static final Integer Course_Class_type41=462;//哑铃
    public static final Integer Course_Class_type42=463;//跳绳
    public static final Integer Course_Class_type43=464;//训练带
    public static final Integer Course_Class_type36=470;//跑步伴侣
    public static final Integer Course_Class_type37=471;//热身激活训练
    public static final Integer Course_Class_type38=472;//恢复再生训练
    public static final Integer Course_Class_type44=473;//综合力量
    
    public static final Integer Run_type1=398;//有氧跑步训练
    public static final Integer Run_type2=399;//无氧跑步训练
    
    public static final Integer Instrumrnt_type1=394;//哑铃
    public static final Integer Instrumrnt_type2=395;//跳绳
    public static final Integer Instrumrnt_type3=396;//训练带
    
    
    public static final String UPLOAD_IMAGES = "UploadImages";
    public static final String OPEN_IM_USER_ICON = "/"+ UPLOAD_IMAGES +"/KUNGFU/OpenImUserIcon/sliderClearImg.png";

    //头像url
    public static final String portraitUrl = "http://skf.smartkungfu.com";
    
    //读取图片宽高前缀
    public static final String readUrl = "E:/apache-tomcat-8.0.14/webapps/RESOURCES/";
    
    public static final String JPUSH_ALIAS_ANYONE = "alias_";
}
